package lbframework.bean.radioButton;

import java.awt.KeyboardFocusManager;
import java.util.HashSet;
import javax.swing.KeyStroke;

public class LBRadioButton extends javax.swing.JRadioButton {

    public LBRadioButton() {
        initComponents();
        
        HashSet kEnter = new HashSet(1);
        
        kEnter.add(KeyStroke.getKeyStroke("TAB"));
        kEnter.add(KeyStroke.getKeyStroke("ENTER"));
        
        setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,kEnter);
    }
    
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
    }// </editor-fold>//GEN-END:initComponents
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables
    
}
